package com.lin.mapper;

import com.lin.model.AdminOperationLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AdminOperationLogMapper {
    @Insert("INSERT INTO admin_operation_log (admin_id, operation, movie_id, timestamp) VALUES (#{adminId}, #{operation}, #{movieId}, #{timestamp})")
    void insert(AdminOperationLog log);
}